﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PostSharpProperty
{
    [PropertyChangedNotification]
    public class Person
    {
        public String FirstName { get; set; }

        public String LastName { get; set; }

        public Person(string first, string last)
        {
            this.FirstName = first;
            this.LastName = last;
        }

        public string Name
        {
            get
            {
                return this.FirstName + " " + this.LastName;
            }
        }
    }
}
